<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="java.io.*"%>
   
<%    
    request.setCharacterEncoding("utf-8");
    //删除附件===================================
    String deleteString = request.getParameter("wordname") + "/" + request.getParameter("deleteString");
    String abPath = application.getRealPath("/");
    File file = new File(abPath + "attached/termattached/" + request.getParameter("wordname") + "/" + request.getParameter("deleteString"));
    file.delete();
    out.println("<script>parent.deleteAttached('" + deleteString + "','" + request.getParameter("deleteString") + "')</script>");
     
%> 
